package sjp.learn.designpattern.factory.simplefactory;

import java.util.Calendar;

public class SimpleFactoryTest {

    public static void main(String[] args) {
        CourseFactory courseFactory = new CourseFactory();
        ICourse course = courseFactory.create(JavaCourse.class);
        course.record();

        course = courseFactory.create(PythonCourse.class);
        course.record();


        Calendar.getInstance();

    }
}
